package org.kernely.ui.mvp;

import java.util.EventObject;

/**
 * Redefinition of EventObject in KernelyContext.
 */
public abstract class KernelyEvent extends EventObject{

	private static final long serialVersionUID = 938345850541617561L;

	/**
	 * KernelyEvent's constructor
	 * @param source : the sender which fires the event
	 */
	public KernelyEvent(KernelyEventSender source) {
		super(source);
	}

	@Override
	/**
	 * Returns the source of this event
	 */
	public KernelyEventSender getSource() {
		return (KernelyEventSender) super.getSource();
	}
}
